define(function(require, exports, module) {

    // 通过 require 引入依赖
    var $ = require.async('jquery');

    var box1 = require('box1');
    var box2 = require('box2');
    console.log($, '$$$$$$$$$$$$');
    
    function T1(opt) {
        if (!(this instanceof T1)) {
            return new T1(opt);
        }
    }

    T1.prototype = {
        init: function () {
            console.log('run T1');
            console.log($, '<--');
            this.runBox()
        },
        runBox: function () {
            var b1 = new box1();
            b1.init();

            var b2 = new box2();
            b2.init()
        }
    }

    module.exports = T1;
  
  });